import request from '@/utils/aRequest'

export default {
  //登录
  submitLogin(adminInfo) {
    return request({
      url: `admin/seckill/admin/login`,
      method: 'post',
      data: adminInfo
    })
  },

  //判断是否登录
  islogin() {
    return request({
      url: `admin/seckill/admin/login`,
      method: 'post',
      data: adminInfo
    })
  },
}